<ion-header-bar align-title="center" class="bar bar-header bar-light"
                style='background: url(img/icon/headerline.png); background-size: contain; background-position: bottom; background-repeat: no-repeat;'>
    <a class="button icon-left ion-ios-arrow-left button-clear button-light" ng-click="backGo()"></a>
    <h1 class="title">我的资产</h1>
</ion-header-bar>
<ion-content class="bg">
    <ion-refresher pulling-text="<span class='pulling-text-auto'>{{pulltextchange}}</span>" on-refresh="doRefresh()"
                   on-pulling="pulltext()" spinner="ripple" pulling-icon="ion-ios-refresh-empty"></ion-refresher>
    <div id="content">
        <ul class="list" ng-show="!edit">
            <li class="item item-icon-right" ng-repeat="asset in assets" ng-click="show(asset)"
                style="border: none; margin-top: 1.5%;padding-top: 2%;">
                <a class="button icon-right ion-ios-arrow-right button-clear button-light"
                   style="position:absolute; top: 20%; right: 2%;"></a>
                <img style="width: 5%; height: 5%; position: relative;margin-right: 2%;"
                     src="img/icon/icon_assetName.png"/>
                资产名称：{{asset.name}}
                <hr class="hr">
              <div><br></div>
                <div style="position: relative">
                    <span style="margin-right: 10%;">数量：{{asset.qty}}</span>
                    <span>
                         资产类型：
                        <span ed-options="assetType">{{asset.assetType}}</span>
                    </span>
                </div>
            </li>
        </ul>
        <ion-list ng-show="edit">
            <div class="detailTitle" ng-repeat="field in fields| filter : {showType : '6'}">
                <img style="width: 4%; height: 4%; position: relative;margin-right: 2%;"
                     src="img/icon/icon_assetName.png"/>
                {{field.value}}
            </div>
            <div class="detailContent" ng-repeat="field in fields " ng-show="field.showType!=0&&field.showType!=6">
                <div style="display: inline-block;width: 100px">{{field.title}}:</div>

                <!--<span style="color: #666;overflow: hidden;" ng-show="{{field.showType==7}}" ed-options="{{field.col}}">{{field.value}}</span>
                <span style="color: #666;overflow: hidden;" ng-show="{{field.showType!=7}}">{{field.value}}</span>-->

                <span style="color: #666;overflow: hidden;" ng-if="field.options" ed-options="{{field.options}}">{{field.value}}</span>
                <span style="color: #666;overflow: hidden;" ng-if="(!field.options)&&field.col!='files'">{{field.value}}</span>

            </div>
            <div class="detailTitle">流程状态：{{taskName}}</div>
        </ion-list>
    </div>
</ion-content>
